//
//  TInventoryDAL.h
//  CarSalesMS_GCX
//
//  Created by Ssky on 2016/12/20.
//  Copyright © 2016年 Tony. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TInventoryModel.h"

@interface TInventoryDAL : NSObject

+ (NSArray<TInventoryModel *> *)loadListWithCommNo:(NSString *)commNo;

+ (TInventoryModel *)loadModelWithCommNo:(NSString *)commNo;

//根据 “是否区分生产日期” 获取数据
+ (NSArray<TInventoryModel *> *)loadListWithUserNo:(NSString *)userNo isDiff:(BOOL)isDiff;


#pragma mark - update
+ (NSInteger)updateDbWithInventoryModel:(TInventoryModel *)inventoryModel;

+ (NSArray<NSNumber *> *)updateDbWithInventoryList:(NSArray<TInventoryModel *> *)inventoryList;









@end
